class Card < ActiveRecord::Base
  has_many :customer
  cattr_reader :per_page

  validates_presence_of :name
  validates_uniqueness_of :name
  
  attr_accessor :user_log
  def to_audit
    return "ID:#{id}"+","+"Name:#{name}"
  end
  
end
